﻿<Window x:Class="Car.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Width="800" Height="480"
				Foreground="White"
				Background="Black"
				Cursor="None"
				WindowStyle="None"
				Topmost="True"
				Loaded="Window_Loaded"
				KeyDown="Window_KeyDown"
				MouseLeftButtonDown="Window_MouseLeftButtonDown"
				MouseDoubleClick="Window_MouseDoubleClick"
				WindowState="Maximized"
				WindowStartupLocation="CenterScreen">
	<Grid>
		<TextBlock x:Name="textInfo"/>
		<Canvas HorizontalAlignment="Left"
							VerticalAlignment="Bottom"
							Width="284" Height="284"
							Margin="40,0">
			<Canvas Width="284" Height="284">
				<Ellipse Width="284" Height="284" Fill="#FF000000" Stroke="#FF000000"/>
				<Ellipse Width="284" Height="279" Fill="#FF262626" Stroke="#FF000000"/>
				<Ellipse Width="263" Height="263" Canvas.Left="11.108" Canvas.Top="11">
					<Ellipse.Fill>
						<LinearGradientBrush EndPoint="0.501,0.989" StartPoint="0.494,0.004">
							<GradientStop Color="#FF000000" Offset="0"/>
							<GradientStop Color="#FF262626" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Fill>
				</Ellipse>
				<Ellipse Width="253" Height="253" Canvas.Left="16.108" Canvas.Top="17">
					<Ellipse.Fill>
						<RadialGradientBrush GradientOrigin="0.49,0.565">
							<RadialGradientBrush.RelativeTransform>
								<TransformGroup>
									<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="1.43" ScaleY="1.43"/>
									<SkewTransform AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
									<RotateTransform Angle="0" CenterX="0.5" CenterY="0.5"/>
									<TranslateTransform X="0.004" Y="0.087"/>
								</TransformGroup>
							</RadialGradientBrush.RelativeTransform>
							<GradientStop Color="#FF000000" Offset="0.995"/>
							<GradientStop Color="#FF484747" Offset="0"/>
						</RadialGradientBrush>
					</Ellipse.Fill>
				</Ellipse>
				<Ellipse Width="223" Height="223" Canvas.Left="33" Canvas.Top="34">
					<Ellipse.Stroke>
						<LinearGradientBrush EndPoint="0.511,1" StartPoint="0.497,0.013">
							<GradientStop Color="#FF9E9999" Offset="0"/>
							<GradientStop Color="#FFE7E3E3" Offset="1"/>
						</LinearGradientBrush>
					</Ellipse.Stroke>
				</Ellipse>
			</Canvas>
			<Canvas Width="63.127" Height="157.13" Canvas.Left="110" Canvas.Top="65">
				<Path RenderTransformOrigin="0.5,1.2" Width="20" Height="100" Stretch="Fill" Data="M0.5,0 L0,1 1,1 z" Canvas.Left="25" Canvas.Top="10">
					<Path.RenderTransform>
						<TransformGroup>

							<RotateTransform x:Name="rotateVelocity" Angle="-55"/>

						</TransformGroup>
					</Path.RenderTransform>
					<Path.Fill>
						<RadialGradientBrush GradientOrigin="0.458,0.633">
							<RadialGradientBrush.RelativeTransform>
								<TransformGroup>
									<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="1.337" ScaleY="1.337"/>
									<SkewTransform AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
									<RotateTransform Angle="0" CenterX="0.5" CenterY="0.5"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</RadialGradientBrush.RelativeTransform>
							<GradientStop Color="Blue" Offset="1"/>
							<GradientStop Color="White" Offset="0"/>
							<GradientStop Color="White" Offset="0.596"/>
						</RadialGradientBrush>
					</Path.Fill>
				</Path>
				<Canvas Opacity="1" Width="56" Height="57" Canvas.Left="7.127" Canvas.Top="100.13">
					<Ellipse Width="56" Height="57" Stroke="#FF2E2E2E" StrokeThickness="5">
						<Ellipse.Fill>
							<RadialGradientBrush>
								<RadialGradientBrush.RelativeTransform>
									<TransformGroup>
										<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="1.971" ScaleY="1.971"/>
										<SkewTransform AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
										<RotateTransform Angle="0" CenterX="0.5" CenterY="0.5"/>
										<TranslateTransform X="-0.036" Y="-0.178"/>
									</TransformGroup>
								</RadialGradientBrush.RelativeTransform>
								<GradientStop Color="#FF000000" Offset="0.721"/>
								<GradientStop Color="#FF323232" Offset="0"/>
							</RadialGradientBrush>
						</Ellipse.Fill>
					</Ellipse>
					<Canvas Opacity="0.255" Width="15.418" Height="18.948" Canvas.Left="20" Canvas.Top="19">
						<Rectangle RenderTransformOrigin="0.5,0.5" Width="5.709" Height="7.474" Fill="#FF868686">
							<Rectangle.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Rectangle.RenderTransform>
						</Rectangle>
						<Rectangle RenderTransformOrigin="0.5,0.5" Width="5.709" Height="7.474" Fill="#FF868686" Canvas.Left="9.709">
							<Rectangle.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Rectangle.RenderTransform>
						</Rectangle>
						<Rectangle RenderTransformOrigin="0.5,0.5" Width="5.709" Height="7.474" Fill="#FF868686" Canvas.Top="11.474">
							<Rectangle.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Rectangle.RenderTransform>
						</Rectangle>
						<Rectangle RenderTransformOrigin="0.5,0.5" Width="5.709" Height="7.474" Fill="#FF868686" Canvas.Left="9.709" Canvas.Top="11.474">
							<Rectangle.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Rectangle.RenderTransform>
						</Rectangle>
					</Canvas>
				</Canvas>
			</Canvas>
			<TextBlock FontSize="20" Text="0" TextWrapping="Wrap" Canvas.Left="35.873" Canvas.Top="111"/>
			<TextBlock FontSize="20" Text="50" TextWrapping="Wrap" Canvas.Left="134" Canvas.Top="32"/>
			<TextBlock FontSize="20" Text="100" TextWrapping="Wrap" Canvas.Left="221" Canvas.Top="121"/>
			<Path Opacity="0.18" Width="243.049" Height="123.526" Stretch="Fill" Data="M243,121.5 C242.892,125.99962 192.9946,104 125.892,104 58.789403,104 -1.108,130.99961 0,121.5 7.773907,54.849232 54.397403,0 121.5,0 188.6026,0 244.61014,54.416723 243,121.5 z" Canvas.Left="20.108" Canvas.Top="26">
				<Path.Fill>
					<RadialGradientBrush GradientOrigin="0.5,0.5">
						<RadialGradientBrush.RelativeTransform>
							<TransformGroup>
								<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="2.184" ScaleY="2.195"/>
								<SkewTransform AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
								<RotateTransform Angle="-45.871" CenterX="0.5" CenterY="0.5"/>
								<TranslateTransform X="-0.002" Y="0.504"/>
							</TransformGroup>
						</RadialGradientBrush.RelativeTransform>
						<GradientStop Color="#FF000000" Offset="0"/>
						<GradientStop Color="#FFFFFFFF" Offset="0.995"/>
					</RadialGradientBrush>
				</Path.Fill>
			</Path>
		</Canvas>
		<StackPanel Margin="0,0,20,0"
								Orientation="Horizontal"
								VerticalAlignment="Bottom"
								HorizontalAlignment="Right">
			<TextBlock x:Name="textSpeed"
							 FontSize="180"
							 Text="0"/>
			<TextBlock FontSize="40"
								 Margin="10,30"
								 VerticalAlignment="Bottom"
								 Text="km/h"/>
		</StackPanel>
		<StackPanel HorizontalAlignment="Right"
								Margin="0,30,30,0">
			<Grid>
				<ProgressBar x:Name="progressBatterySOC"
										 BorderThickness="4"
										 FlowDirection="RightToLeft"
										 Value="40.46"
										 Width="500"
										 Height="100" Foreground="Blue"
										 Background="White" />
				<TextBlock x:Name="textStateOfCharge"
									 HorizontalAlignment="Center"
									 FontSize="70"
									 Foreground="Black"
									 Text="{Binding ElementName=progressBatterySOC,Path=Value,StringFormat={}%{0:.0}}"/>
			</Grid>
			<TextBlock Text="Aku Durumu"
								 HorizontalAlignment="Right"
								 FontSize="35"/>
			<!--<TextBlock x:Name="textInfo" FontSize="22"/>
			<TextBlock x:Name="textSpeed" FontSize="22"/>
			<TextBlock x:Name="textData"/>-->
		</StackPanel>
		<Ellipse x:Name="myConnectionStatus"
						 VerticalAlignment="Top"
						 HorizontalAlignment="Left"
						 Margin="30"
						 Width="50"
						 Height="50"
						 Fill="Red"/>
	</Grid>
</Window>
